Corrections in the code
=======================
for description of errors, see ERRORS IN THE CODE.txt (.../Original with marked errors)
corrections (changed original commands) are on these lines of individual files:

file CalcLPI.R:
L98
L106
L130
L163
L202
L331
L386	
L388
L395
L396
L398
L420
L426
L440
L447
L455

file ProcessFile.R:
L133
	
file calculate_index.R:
L98
L103
L125

file bootstrap_lpi.R:
L42
L47
L51
L80
L94
L96

file LPIMain.R:
L553





